package cn.com.connext.scrm.service.dto;

import cn.com.connext.scrm.domain.master.PrizeExt;

import java.util.Date;

/**
 * 2 * @Author: shawn
 * 3 * @Date: 2020/8/11 4:51 下午
 * 4
 */
public class PrizeCodeDTO {

    private Long id;
    private String unionId;
    private String name;
    private Integer prizeGoodId;
    private String goodName;
    //奖品图片
    private String goodImg;
    private String couponCode;
    private Integer type;
    private String activityId;
    /**
     * 奖励积分
     */
    private Integer point;
    /**
     * 微信卡券ID
     */
    private String cardId;
    /**
     * 微信卡券code
     */
    private String code;
    /**
     * 特定奖品需要的跳转地址
     */
    private String pagePath;
    private Date createTime;
    private Date updateTime;
    private PrizeExt prizeExt;
    private String remark;
    /*
     * 按钮文字
     * */
    private String buttonText;
    /*
     * 跳转类型
     * */
    private Integer pathType;

    private Date startTime;
    private PrizeExt prizeExtList;

    public PrizeExt getPrizeExtList() {
        return prizeExtList;
    }

    public void setPrizeExtList(PrizeExt prizeExtList) {
        this.prizeExtList = prizeExtList;
    }

    /**
     * 可用结束时间
     */
    private Date endTime;

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    /*
     * Appid
     * */
    private String appId;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCouponCode() {
        return couponCode;
    }

    public void setCouponCode(String couponCode) {
        this.couponCode = couponCode;
    }

    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }

    public PrizeExt getPrizeExt() {
        return prizeExt;
    }

    public void setPrizeExt(PrizeExt prizeExt) {
        this.prizeExt = prizeExt;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public Integer getPrizeGoodId() {
        return prizeGoodId;
    }

    public void setPrizeGoodId(Integer prizeGoodId) {
        this.prizeGoodId = prizeGoodId;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public String getGoodImg() {
        return goodImg;
    }

    public void setGoodImg(String goodImg) {
        this.goodImg = goodImg;
    }

    public Integer getPoint() {
        return point;
    }

    public void setPoint(Integer point) {
        this.point = point;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPagePath() {
        return pagePath;
    }

    public void setPagePath(String pagePath) {
        this.pagePath = pagePath;
    }

    public String getButtonText() {
        return buttonText;
    }

    public void setButtonText(String buttonText) {
        this.buttonText = buttonText;
    }

    public Integer getPathType() {
        return pathType;
    }

    public void setPathType(Integer pathType) {
        this.pathType = pathType;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    @Override
    public String toString() {
        return "PrizeDTO{" +
            "id=" + id +
            ", unionId='" + unionId + '\'' +
            ", name='" + name + '\'' +
            ", prizeGoodId=" + prizeGoodId +
            ", goodName='" + goodName + '\'' +
            ", goodImg='" + goodImg + '\'' +
            ", type=" + type +
            ", activityId='" + activityId + '\'' +
            ", point=" + point +
            ", cardId='" + cardId + '\'' +
            ", code='" + code + '\'' +
            ", pagePath='" + pagePath + '\'' +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
            ", prizeExt=" + prizeExt +
            ", remark='" + remark + '\'' +
            ", buttonText='" + buttonText + '\'' +
            ", pathType=" + pathType +
            ", appId='" + appId + '\'' +
            '}';
    }
}
